package com.buba.other.service.impl;

import com.buba.pojo.other.SetMeal;
import com.buba.other.mapper.SetMealMapper;
import com.buba.other.service.SetMealService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 套餐表 服务实现类
 * </p>
 *
 * @author testjava
 * @since 2022-06-09
 */
@Service
public class SetMealServiceImpl extends ServiceImpl<SetMealMapper, SetMeal> implements SetMealService {

    @Autowired
    private SetMealMapper setMealMapper;

    @Override
    public List<SetMeal> getPackagesList(Integer packageId) {
        return setMealMapper.getPackagesList(packageId);
    }
}
